<?php
namespace app\common\validate;
use think\Validate;
class Media extends Validate{
    protected $rule =   [
        'title'  => 'require',

    ];

    protected $msg  =   [
        'title.require' => '名称必须',
        'price'   => '价格必须',
        'endtime'   => '到期时间必须'
    ];


}